
<!--添加弹出框-->
<div class="wizard" id="wizard-demo">
    <form method="post" onsubmit="add()" id="addForm">
        <h1>添加配件</h1>
        <div class="wizard-card" data-onValidated="setServerName" data-cardname="name">
            <h3 class="text-center"><span>添加配件</span></h3>

            <div class="wizard-input-section">
                <div class="form-group">
                    <label class="control-label">配件名称 <span class="required">*</span>
                    </label>
                    <div>
                        <input type="text" name="fitting_add" required="required" class="form-control col-md-7 col-xs-12">
                    </div>
                </div>
            </div>
            <div class="wizard-input-section">
                <div class="form-group">
                    <label for="middle-name" class="control-label">生产负责人 </label>
                    <div>
                        <select id="middle-name" class="form-control col-md-7 col-xs-12" name="pid_add">
                            {volist name="principles" id="v"}
                            <option value="{$v['pid']}">{$v.product_principle}</option>
                            {/volist}
                        </select>
                    </div>
                </div>
            </div>
        </div>

    </form>
</div>
<!--添加弹出框-->
